package org.finesys.ai.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.finesys.ai.entity.AigcProviderModel;
import org.finesys.common.mp.core.mapper.BaseMapper;

@Mapper
public interface AigcProviderModelMapper extends BaseMapper<AigcProviderModel> {

    @Select("SELECT distinct provider FROM AIGC_PROVIDER_MODEL WHERE DEL_FLAG = '0' and MODEL_TYPE = #{modelType} ORDER BY PROVIDER ASC")
    List<AigcProviderModel> findProviderList(String modelType);
}
